﻿
#parse("${skin.TemplateName}/include/top.htm")

     <link rel="stylesheet" type="text/css" href="/${skin.Dir}/main.css" media="all" />	
<div class="lp-main index-main clr">
	
	<div class="lp-left">
		<div class="index-left">
		<div class="idx-banner clr">
    <div class="idx-banner-left">
        <div class="ib-bd-img" id="ib-bd-img">
            <ul class="clr">
             #set($TPList=$cmn.ModuleList("",3,"article","flag!=''","adddate desc",true,true,0))
            #foreach($ListInfo in $TPList)
	            		            			            <li class="link">
	                    <a href="${ListInfo.Url}" target="_blank">
	                        <img src="${ListInfo.Img}" alt="${ListInfo.Title}">
	                    </a>
			            </li>
			 #end

			        	                        </ul>
        </div>
        <!-- ib-bd-img -->
    </div>
    <!-- index-banner-left -->
    <div class="idx-banner-right">
        <div class="ib-bd-word" id="ib-bd-word">
            <ul>#foreach($ListInfo in $TPList)
	            	<li  #if(${velocityCount}==1) style='display:block' #end>
			            <div class="h3">
				            <a href="${ListInfo.Url}" target="_blank"><h3>${ListInfo.Title}</h3></a>
			            </div>
			          
			            <div class="p">$!cmn.GetLengthString( ${ListInfo.Summary},90,true)</div>
			           
		            </li>
                    #end
	            		          
	                        </ul>
        </div>
        <!-- ib-bd-word -->
        <div class="ib-hd-btns clr" id="ib-hd-btns">
            <a class="prev" href="javascript:;"></a>
            <ul class="hd">
                <li class="on"><a href="javascript:;"> </a></li>
                <li><a href="javascript:;"> </a></li>
                <li><a href="javascript:;"> </a></li>
            </ul>
            <a class="next" href="javascript:;"></a>
        </div>
        <!-- ib-bd-btns -->
    </div>
</div>
<!-- idx-banner -->

<div class="idx-news">
    <div class="title">
        <h2>最新要闻</h2>
    </div>
    <div class="cont clr">
        <div class="cont-left">
            <ul class="news-ul">
           #foreach($ListInfo in $cmn.ModuleList("",3,1,"article","flag!=''","adddate desc",true,false,0,false)) 
	                            <li class="clr">
                    <div class="img">
                        <a href="${ListInfo.Url}" target="_blank">
                            <img  class="lazy" src="/templates/lf/images/article/miss-main-pic.jpg" data-original="${ListInfo.Img}" height="54" width="96" alt="${ListInfo.Title}">
                        </a>
                    </div>
                    <div class="word">
                        <h3><a href="${ListInfo.Url}" target="_blank">${ListInfo.Title}</a></h3>
                        <p>$!cmn.GetLengthString( ${ListInfo.Summary},90,true)</p>
                    </div>
                </li>
	       #end                    
	                        </ul>
        </div>
        <div class="cont-right">
            <ul class="news-ul">
            #foreach($ListInfo in $cmn.ModuleList("",3,2,"article","flag!=''","adddate desc",true,false,0,false)) 
	            		            <li class="clr">
			            <div class="img">
							<a href="${ListInfo.Url}" target="_blank">
                                <img class="lazy" src="/templates/lf/images/article/miss-main-pic.jpg" data-original="${ListInfo.Img}" height="54" width="96" alt="${ListInfo.Title}" >
				            </a>
			            </div>
			            <div class="word">
				            <h3><a href="${ListInfo.Url}" target="_blank">${ListInfo.Title}</a></h3>
				            <p>$!cmn.GetLengthString( ${ListInfo.Summary},90,true)</p>
			            </div>
		            </li>
	        #end     		          
	                        </ul>
        </div>
    </div>
    <!-- cont END -->
</div>
<!-- idx-news END -->
<div class="idx-adver1">
	$cmn.Advertise("Index_1").Advertise
</div>
<!-- idx-adver1 END -->

			<!-- lp-articles-wrap START -->
			<div class="lp-articles-wrap">
	
	<!-- article START -->
     #foreach($ListInfo in $cmn.ModuleList("",10,"article","flag!=''","adddate desc",true,false,0))
       <article class="lp-articles  page1">
			<div class="article-top clr">
				<div class="article-left">
					<a href="${ListInfo.Url}" target="_blank">
					<img class="lazy" src="/templates/lf/images/article/miss-main-pic.jpg" width="240" height="160" data-original="${ListInfo.Img}"  alt="${ListInfo.Title}" title="${ListInfo.Title}"/>
					</a>
				</div>
				<div class="article-right">
					<h2><a href="${ListInfo.Url}" target="_blank">${ListInfo.Title}</a></h2>
					<div class="article-right-text">${ListInfo.Summary}</div>
				</div>
			</div>
			<div class="article-bottom">
				<div class="metatag">
					<span  class="date">${ListInfo.AddDate}</span>
						<ul class="tags">
                        #foreach($tagEntity in $tag.List(${ListInfo.Tags}))
                               <li><a href="${tagEntity.Url}"   target="_blank">${tagEntity.TagName}</a></li>
                              #end  
                       
                        </ul>
						<span class="line">/</span>
						<span class="sz">${ListInfo.ViewNum}</span>
						<span class="line">/</span>
					<a href="${cmn.GetChannelByPath($ListInfo.Path).Url}" class="sor">
						${cmn.GetChannelByPath($ListInfo.Path).Title}					</a>
				</div>
			</div>
		</article>
         #end 
		<!-- article END -->
	       
	</div>
			<!-- lp-articles-wrap END -->

		</div>

	</div>
	<!-- left END -->
	 #parse("${skin.TemplateName}/include/right.htm")
</div>
<!-- author-main END -->
<!-- js BEGIN -->
	<script type="text/javascript" src="/${skin.Dir}/js/main.js"></script>

<!-- js END -->
        
    #parse("${skin.TemplateName}/include/footer.htm")


